Package | hl7.fhir.uv.xver |
Type | StructureMap |
Id | Id |
FHIR Version | R5 |
Source | http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-OperationOutcome4Bto5.html |
Url | http://hl7.org/fhir/StructureMap/OperationOutcome4Bto5 |
Version | 0.1.0 |
Status | active |
Date | 2024-02-22T03:16:50+00:00 |
Name | OperationOutcome4Bto5 |
Title | OperationOutcome Transforms: R4B to R5 |
Experimental | False |
Realm | uv |
Authority | hl7 |
Description | OperationOutcomeTransformsR4BtoR5 |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
/// url = 'http://hl7.org/fhir/StructureMap/OperationOutcome4Bto5' /// name = 'OperationOutcome4Bto5' /// title = 'OperationOutcome Transforms: R4B to R5' /// status = 'active' uses "http://hl7.org/fhir/4.3/OperationOutcome" alias OperationOutcomeR4B as source uses "http://hl7.org/fhir/5.0/OperationOutcome" alias OperationOutcomeR5 as target imports "http://hl7.org/fhir/StructureMap/*4Bto5" group OperationOutcome(source src : OperationOutcomeR4B, target tgt : OperationOutcomeR5) extends DomainResource <<type+>> { src.issue as s -> tgt.issue as t then OperationOutcomeIssue(s, t); } group OperationOutcomeIssue(source src, target tgt) extends BackboneElement { src.severity as v -> tgt.severity = translate(v, 'http://hl7.org/fhir/ConceptMap/OperationOutcomeB.issue.severity-R4BtoR5', 'code'); src.code as v -> tgt.code = translate(v, 'http://hl7.org/fhir/ConceptMap/OperationOutcomeB.issue.code-R4BtoR5', 'code'); src.details -> tgt.details; src.diagnostics -> tgt.diagnostics; src.location -> tgt.location; src.expression -> tgt.expression; }
{
"resourceType" : "StructureMap",
"id" : "OperationOutcome4Bto5",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/OperationOutcome4Bto5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'OperationOutcome4Bto5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'OperationOutcome Transforms: R4B to R5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/4.3/OperationOutcome<span style=\"color: navy\">" </span><b>alias </b>OperationOutcomeR4B <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/5.0/OperationOutcome<span style=\"color: navy\">" </span><b>alias </b>OperationOutcomeR5 <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*4Bto5<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>OperationOutcome<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>OperationOutcomeR4B, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>OperationOutcomeR5<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.issue<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.issue<b> as </b><span style=\"color: maroon\">t</span><b> then </b>OperationOutcomeIssue<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>OperationOutcomeIssue<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.severity<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.severity = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'http://hl7.org/fhir/ConceptMap/OperationOutcomeB.issue.severity-R4BtoR5'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.code<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.code = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'http://hl7.org/fhir/ConceptMap/OperationOutcomeB.issue.code-R4BtoR5'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.details<span style=\"color: navy\"><b> -> </b></span>tgt.details<span style=\"color: navy\">;</span>\r\n src.diagnostics<span style=\"color: navy\"><b> -> </b></span>tgt.diagnostics<span style=\"color: navy\">;</span>\r\n src.location<span style=\"color: navy\"><b> -> </b></span>tgt.location<span style=\"color: navy\">;</span>\r\n src.expression<span style=\"color: navy\"><b> -> </b></span>tgt.expression<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "fhir"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 1,
"_valueInteger" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft",
"_valueCode" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
}
],
"url" : "http://hl7.org/fhir/StructureMap/OperationOutcome4Bto5",
"version" : "0.1.0",
"name" : "OperationOutcome4Bto5",
"title" : "OperationOutcome Transforms: R4B to R5",
"status" : "active",
"date" : "2024-02-22T03:16:50+00:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "OperationOutcomeTransformsR4BtoR5",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/4.3/OperationOutcome",
"mode" : "source",
"alias" : "OperationOutcomeR4B"
},
{
"url" : "http://hl7.org/fhir/5.0/OperationOutcome",
"mode" : "target",
"alias" : "OperationOutcomeR5"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*4Bto5"
],
"group" : [
{
"name" : "OperationOutcome",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "OperationOutcomeR4B",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "OperationOutcomeR5",
"mode" : "target"
}
],
"rule" : [
{
"name" : "issue",
"source" : [
{
"context" : "src",
"element" : "issue",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "issue",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "OperationOutcomeIssue",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
}
]
},
{
"name" : "OperationOutcomeIssue",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "severity",
"source" : [
{
"context" : "src",
"element" : "severity",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "severity",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "http://hl7.org/fhir/ConceptMap/OperationOutcomeB.issue.severity-R4BtoR5"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "code",
"source" : [
{
"context" : "src",
"element" : "code",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "code",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "http://hl7.org/fhir/ConceptMap/OperationOutcomeB.issue.code-R4BtoR5"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "details",
"source" : [
{
"context" : "src",
"element" : "details",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "details",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "diagnostics",
"source" : [
{
"context" : "src",
"element" : "diagnostics",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "diagnostics",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "location",
"source" : [
{
"context" : "src",
"element" : "location",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "location",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "expression",
"source" : [
{
"context" : "src",
"element" : "expression",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "expression",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
}
]
}
XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.